package com.CmJava.entity;

import java.io.Serializable;
import java.util.List;

public class MessageList implements Serializable {
    private String friendName;
    private List<Message> messages;
    private String messageTime;

    public MessageList() {
    }

    public MessageList(String friendName, List<Message> messages, String messageTime) {
        this.friendName = friendName;
        this.messages = messages;
        this.messageTime = messageTime;
    }

    public String getUserName() {
        return friendName;
    }

    public void setUserName(String friendName) {
        this.friendName = friendName;
    }

    public List<Message> getMessages() {
        return messages;
    }

    public void setMessages(List<Message> messages) {
        this.messages = messages;
    }

    public String getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(String messageTime) {
        this.messageTime = messageTime;
    }
}
